//
//  LcPersistenceMeta.h
//  18Birdies
//
//  Created by Lc on 15/3/23.
//  Copyright (c) 2015年 Lc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LcPersistenceMeta : NSObject

// only file name, not full paths
@property(nonatomic, copy, readonly) NSString* fileName;
@property(nonatomic, copy, readonly) NSString* type;
@property(nonatomic, copy, readonly) NSArray* genericTypes;
@property(nonatomic, assign, readonly) BOOL compressing;
@property(nonatomic, assign, readonly) BOOL encrypting;

+ (LcPersistenceMeta*)persistenceMetaWithFileName:(NSString*)fileName
                                             type:(NSString*)type;

+ (LcPersistenceMeta*)persistenceMetaWithFileName:(NSString*)fileName
                                             type:(NSString*)type
                                      compressing:(BOOL)compressing
                                       encrypting:(BOOL)encrypting;

+ (LcPersistenceMeta*)persistenceMetaWithFileName:(NSString*)fileName
                                             type:(NSString*)type
                                     genericTypes:(NSArray*)genericTypes
                                      compressing:(BOOL)compressing
                                       encrypting:(BOOL)encrypting;

@end
